import "./index.css";
import React from "react";

export default function GlobalFooter() {
  // 获取当前年份
  const currentTime = new Date().getFullYear();
  return (
    <div className="global-footer">
      <div>© {currentTime} programming-frontend</div>
      <div>
        <a href={"https://github.com/"} target="_blank">
          by Xu Junhao
        </a>
      </div>
    </div>
  );
}
